package com.oa.ylms.apps.business.limit;

import java.util.List;

import com.oa.ylms.apps.entity.limit.LimitInfoValue;

public interface ILimitInfoService {

	public int addLimitInfo(String limitName,int parentId,String limitUrl) throws Exception;

	public boolean modifyLimitInfo(int limitId,String limitName,int parentId,String limitUrl)throws Exception;

	public String deleteLimitInfo(String limitIds) throws Exception;

	public LimitInfoValue queryByLimitId(int limitId)throws Exception;

	public List<LimitInfoValue> queryLimitInfoWithPage(int rows, int pageNo)throws Exception;

	public int countTpages(int rows)throws Exception;

	public List<LimitInfoValue> queryByParentId(String parentId, Integer postId)throws Exception;
	
	public List<LimitInfoValue> queryByLimitIds(String limitIds) throws Exception;
	
	public boolean toDisable(int limitId) throws Exception;
	
	public boolean toEnable (int limitId) throws Exception;

}
